﻿using System;
namespace Producers.Kis.Xtee.Riik.Ee.Producer.Kis {
    
    
    public partial class ObligorOrganisation : global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.Obligor, global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IObligorOrganisation {
        
        private global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IOrganisation @__organisation;
        
        public ObligorOrganisation() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public ObligorOrganisation(global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IOrganisation @organisation) {
            this.@__organisation = @organisation;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected ObligorOrganisation(IObligorOrganisation @obligorOrganisation) {
            this.@__organisation = @obligorOrganisation.Organisation;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        public ObligorOrganisation(IObligor @obligor) : 
                base(@obligor) {
        }
        
        public virtual global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IOrganisation Organisation {
            get {
                return this.@__organisation;
            }
            set {
                this.@__organisation = value;
            }
        }
    }
}
